#region Copyright Jonathan Quiros

//	
// All rights are reserved. Reproduction or transmission in whole or in 
// part, in any form or by any means, electronic, mechanical or otherwise, 
// is prohibited without the prior written consent of the copyright owner.
//
// Filename: IPlayersRepository.cs
//

#endregion

using System.Collections.Generic;
using Ids.Web.Listing;
using Novagoal.Models;
using Novagoal.Models.Utils;

namespace Novagoal.Repositories
{
    public interface IPlayersRepository
    {
        List<Player> GetPlayers(Dictionary<PlayerListFilter, string> filterList, PlayerListSortField sortField, SortDirectionType sortDirection, int currentPage, int pageSize);

        int GetTotalPlayers(Dictionary<PlayerListFilter, string> filterList);

        void UpdateMvp(int playerId);
        
        Player GetPlayer(int playerId);
        
        int AddPlayer(Player player);
        
        int EditPlayer(Player player);
    }
}